﻿namespace FFF.Test.Entity.FW
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Domain.Entities;
    using Abp.AutoMapper;
    using FFF.Test.Entity.FW.View;
    using FFF.Test.Entity.Framework.Entity;

	/// <summary>
    /// 登陆日志表
    /// </summary>
	[Table("FW_LoginLog")]
    [Display(Name = "登陆日志表", Description = "登陆日志表")]
    [AutoMapFrom(typeof(ViewFWLoginLog))] 
    public partial class FWLoginLogEntity : BaseEntity<Guid>
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Column("LoginLogGUID")]
        [Display(Name = "登陆日志表主键", Description = "登陆日志表主键")]
		[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public override Guid Id { get; set; }

		/// <summary>
        /// 用户登陆编码
        /// </summary>
		[Display(Name = "用户登陆编码", Description = "用户登陆编码")]
        [Column("UserCode")]
		[StringLength(256)]
        public string UserCode { get; set; }   

		/// <summary>
        /// 用户登陆的IP
        /// </summary>
		[Display(Name = "用户登陆的IP", Description = "用户登陆的IP")]
        [Column("UserIP")]
		[StringLength(256)]
        public string UserIP { get; set; }   
    }
}
